function content0LoadFunction() {
	x_getEU(eventUpdatesObj.returnGetEU);	
	
	var euDisplayUntil = new Ext.form.DateField({
	    name: 'euDisplayUntil',
	    width:150,
	    allowBlank:false,
	    format: 'm/d/Y'
	});
	
	euDisplayUntil.applyTo('euDisplayUntil');
}

var eventUpdatesObj = {
	returnGetEU : function (string) {
		var stringArray = string.split('|');
		var title   = stringArray[0];
		var content = stringArray[1];
		var display = stringArray[2];
		
		$('euTitle').value = title;
		tinyMCE.getInstanceById('euContent').getBody().innerHTML = content;
		$('euDisplayUntil').value = display;
		
	},
	returnGetEU2: function () {
		
	},
	saveEU : function () {
		
		var title   = $F('euTitle');
		var content = tinyMCE.getContent('euContent');
		var display = $F('euDisplayUntil');
		
		x_saveEU(title,content,display,eventUpdatesObj.returnGetEU2);
		$('formStatus').className = 'successMessage';
		$('formStatus').innerHTML = 'Site Message has been saved.';
		Effect.Fade('formStatus', {delay: 1, duration: 3});
	}
}
